package com.kedacom.ctsp.authority.service;

import com.kedacom.ctsp.authority.entity.Resource;
import com.kedacom.ctsp.web.service.CrudTreeService;

/**
 * @author sunchenjie
 * @date 2017/11/12 0012
 */
public interface ResourceService extends CrudTreeService<Resource, String> {
    /**
     * 检测子节点是否有重复
     *
     * @param name
     * @param parentId
     * @param value
     * @return
     */
    boolean checkChildUnique(String name, String parentId, String value);


}
